package com.foreknow.demo9;

public class CImpl implements C { //因为C接口继承了A,B接口，所以要实现三个方法
    @Override
    public void sleep() {
        System.out.println("sleep......");
    }

    @Override
    public void eat() {
        System.out.println("eat......");
    }

    @Override
    public void study() {
        System.out.println("study......");
    }
}
